
package com.reremouse.util;


public class Cat {

    public static void paw(Exception e) {

        e.printStackTrace();

    }


    public static String textToHtml(String str) {

        str = str.replaceAll("\r\n", "<br/>");

        str = str.replaceAll(" ", "&nbsp;");

        return str;

    }


    public static <T> void println(T something) {

        System.out.println(something);

    }


    public static String getUniqueId() {

        String q = new Long(System.nanoTime()).toString();

        return q;

    }


    public static void sendEmail(String toEmail, String title, String content) {
        boolean ifs;

        try {

            ifs = SendEmail.sendEmail("smtp", "smtp.ym.163.com", "25", false, false, "reporter@reremouse.com", "122128148", "reporter@reremouse.com", "reporter@reremouse.com", toEmail, title, content);

        } catch (Exception e) {


            e.printStackTrace();

        }

    }

}



/* Location:           F:\jsp源码\蝙蝠论坛系统\rerebbs\WEB-INF\classes\

 * Qualified Name:     com.reremouse.util.Cat

 * JD-Core Version:    0.7.0.1

 */